#pragma once

#include <string>
#include <cstdlib>
#include "Plugins/Samples/Common/OrthancPluginCppWrapper.h"

class MyJob : public OrthancPlugins::OrthancJob {
    std::string jobName_;
    float counter_;
    float maxSteps_;

public:

    explicit MyJob(const std::string &jobType);

    ~MyJob();

    OrthancPluginJobStepStatus Step();

    void Stop(OrthancPluginJobStopReason reason);

    void Reset();

    static bool RandomGenerator();
};